package com.example.demo7;

import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import java.util.List;
import java.util.Map;

public class MyAdapter extends RecyclerView.Adapter<MyAdapter.VH> {
    private List<Map<String,String>> list;
    public MyAdapter(List<Map<String,String>> list){
        this.list=list;
    }
    public static class VH extends  RecyclerView.ViewHolder{
        public TextView tvBand;
        public TextView tvTemp;
        public TextView tvMode;
        public VH(@NonNull View itemView){
            super(itemView);
            tvBand = itemView.findViewById(R.id.tvBand);
            tvMode = itemView.findViewById(R.id.tvMode);
            tvTemp = itemView.findViewById(R.id.tvTemp);
        }
    }
}
